package cn.hp.service;

import cn.hp.entity.Announcement;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface AnnouncementService {
    List<Announcement> findAnnouncement(Announcement announcement);
    PageInfo<Announcement> findAnnouncement(Announcement announcement,Integer page,Integer limit);

    int insertAnnouncement(Announcement announcement);

    int deleteAnnouncement(Integer id);
    int updateAnnouncement(Announcement announcement);
}
